package com.mtnz.njk.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

/**
* @Description:    购物车与商品联合实体类
* @Author:         FBL
* @CreateDate:     2019\7\18 0018 12:03
* @Version:        1.0
*/
@Data
@Table(name = "cart_product")
public class CartProductEntity {
    @Id
    @Column(name = "cart_product_id")
    private Integer cartProductId;
    @Column(name = "cart_id")
    private Integer cartId;
    @Column(name = "product_id")
    private String productId;
    @Column(name = "product_remark_id")
    private String productRemarkId;
    @Column(name = "cart_buy_num")
    private Integer cartBuyNum;
    @Column(name = "select_flag")
    private Integer selectFlag;
    @Column(name = "product_status")
    private Integer productStatus;
    @Column(name = "trad_remark_id")
    private String tradRemarkId;

    // 是否全选 0 否 1 是
    @Transient
    private Integer allSelect;

}
